<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>栏目管理</title>
<load href="__PUBLIC__/Css/admin_style.css"/>
<load href="__PUBLIC__/Js/jquery.js"/>
<load href="__PUBLIC__/Js/inc.js"/>
<style type="text/css">
<!--
.t1 {
	background-color: #FFEA93;
}
.t2 {
	background-color: #FFF3EE;
}

-->
</style>
<script>
$(function(){
  $("#btn1").click(function(event){
     if(empty(trim($("#sql_text").val()))){
	    alert('语句为空');
		$("#sql_text").focus();
		return false;
	 }else{
	   if(confirm("执行sql语句有一定的危险性,\r\n你确定要执行吗?")){
	      $("#btn1").attr("disabled",true);
		  $("#form1").submit();
	   }else{
	     return false;
	   }
	 }
  });
});
</script>
</head>

<body>
{//公共上部}
<!-- layout::Admin:Syscolumn:inc_top::0 -->
<table  border="0" cellspacing="0" cellpadding="0">
  <form id="form1" name="form1" method="post" action="__URL__/do_sql">
  <tr>
    <td >
      <textarea name="sql_text" id="sql_text" rows="10" style="width:300px;">{$oldsql}</textarea>    </td>
    <td >多个语句以&quot;|||&quot;分开 </td>
  </tr>
  <tr>
    <td colspan="2"><input type="button" name="btn1" id="btn1" value="提交" /></td>
    </tr>
  </form>
</table>
<div >{$content}</div>
</body>
</html>
